const expect=require('chai').expect;

describe('a(type)',()=>{

    it('string',()=>{
        expect('str').to.be.a('string');
    });

    it('object',()=>{
        expect({}).to.be.an('object');
    });

    it('null',()=>{
        expect(null).to.be.a('null');
    });

    it('error',()=>{
        expect(new Error).to.be.an('error');
    });

    it('date',()=>{
        expect(new Date()).to.be.a('date');
    });

    it('new array',()=>{
        expect(new Array()).to.be.an('array');
    });


    it('promise',()=>{
        expect(new Promise(()=>{})).to.be.a('promise');
    });

    it('symbol',()=>{
        expect(Symbol()).to.be.a('symbol');
    });

});
